/**
 * 2678. 老人的数目
 */
public class No2678 {
    public int countSeniors(String[] details) {
        int ans = 0;
        for (String detail : details) {
            if (Integer.parseInt(detail.substring(11, 13)) > 60) ans++;
        }
        return ans;
    }
}
